/*
 ********************************************************************************
 * @FileName  : usb_config.h
 * @CreateDate: 2021-5-17
 * @Author    : GaoQiu
 * @Copyright : Copyright(C) GaoQiu
 *              All Rights Reserved.
 ********************************************************************************
 *
 * The information contained herein is confidential and proprietary property of
 * GaoQiu and is available under the terms of Commercial License Agreement
 * between GaoQiu and the licensee in separate contract or the terms described
 * here-in.
 *
 * This heading MUST NOT be removed from this file.
 *
 * Licensees are granted free, non-transferable use of the information in this
 * file under Mutual Non-Disclosure Agreement. NO WARRENTY of ANY KIND is provided.
 *
 *******************************************************************************
 */

#ifndef USB_CONFIG_H_
#define USB_CONFIG_H_

#include "app_config.h"

#ifndef USB_HID_EN
#define USB_HID_EN            0
#endif

#ifndef USB_CDC_EN
#define USB_CDC_EN            1
#endif

#ifndef USB_PRINTER_EN
#define USB_PRINTER_EN        0
#endif

#ifndef USB_AUDIO_EN
#define USB_AUDIO_EN          0
#endif


#if USB_CDC_EN
#define USB_CDC_CTRL_EDP     0x01
#define USB_CDC_IN_EDP       0x02
#define USB_CDC_OUT_EDP      0x05

#define USB_CDC_DATA_SIZE    64   /*!< max = 64B */

#define USE_DBG_USE_DYNAMIC_MEM  0
#define USB_DBG_BUF_SIZE     128
#define USB_DBG_BUF_NUM      16
#endif

#endif /* USB_CONFIG_H_ */
